//
// Created by QU on 2023/8/21.
//

#ifndef CJFREBORN_DATAGENERATOR_H
#define CJFREBORN_DATAGENERATOR_H

#include <stdio.h>
#include <stdint.h>
#include "paramPasser.h"

size_t fillBlockWithZero(uint8_t *mallocBuffer, size_t filledSize);

size_t generateData_60a1da8e(uint8_t *mallocBuffer, size_t mallocBufferSize, size_t *continueIndex);

size_t generateData_00toFF(uint8_t *mallocBuffer, size_t mallocBufferSize, size_t *continueIndex);

size_t generateData_LowerIncrementHigherLogicalID(uint8_t *mallocBuffer, size_t mallocBufferSize,
                                                  size_t *continueIndex, uint16_t logicalID);

size_t
generateData_ChannelIncrement(uint8_t *mallocBuffer, size_t filledSize, size_t *continueIndex,
                              uint16_t logicalID);


#ifdef TEST_MODE
void testDataGenerate(int argc , char * argv[]);
#endif

#endif //CJFREBORN_DATAGENERATOR_H
